ProfilePress\Core\ContentProtection\ElementorRestriction S

Total Complexity 33
Dependencies 5
Dependents 1
Total lines 262
Lines of code 175
Logical lines of code 76
Comment lines 30
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
can_access()
A
51 15 24
register_controls()
A
37 5 92
maybe_render_restricted_message()
S
55 5 20
should_render()
S
70 3 6
__construct()
S
58 1 15
get_instance()
S
69 2 7
register_section()
S
68 1 7
is_alternate_message_active()
S
74 1 4